﻿package game.swfloader {
	import flash.events.Event;
	import flash.display.MovieClip;

	public class SWFLoaderEvent extends Event {
		
		public static const LOADED:String		= "swf.loaded";
		public static const ERROR:String		= "swf.error";
		
		public var content:MovieClip;
		
		public function SWFLoaderEvent($type:String, content:MovieClip, $bubbles:Boolean = false, $cancelable:Boolean = false) {
			super($type, $bubbles, $cancelable);
			this.content = content;
		}

		public override function toString():String {
			return formatToString("SWFLoaderEvent", "content", "type", "bubbles", "cancelable");
		}

	}
}